<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>安全</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="wrappers.expect.html">« expect://</a></li>
      <li style="float: right;"><a href="security.intro.html">简介 »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    
    <li>安全</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="security" class="book">
  <h1 class="title">安全</h1>
  


 



  



  



  







  




  



  




 



  



  



  




  



  



  



  








  




  




  









 <ul class="chunklist chunklist_book"><li><a href="security.intro.html">简介</a></li><li><a href="security.general.html">总则</a></li><li><a href="security.cgi-bin.html">以 CGI 模式安装时</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="security.cgi-bin.attacks.html">可能受到的攻击</a></li><li><a href="security.cgi-bin.default.html">情形一：只运行公开的文件</a></li><li><a href="security.cgi-bin.force-redirect.html">情形二：使用 cgi.force_redirect</a></li><li><a href="security.cgi-bin.doc-root.html">情形三：设置 doc_root 或 user_dir</a></li><li><a href="security.cgi-bin.shell.html">情形四：PHP 解释器放在 web 目录以外</a></li></ul></li><li><a href="security.apache.html">以 Apache 模块安装时</a></li><li><a href="security.sessions.html">会话（Session）安全</a></li><li><a href="security.filesystem.html">文件系统安全</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="security.filesystem.nullbytes.html">空字符（Null bytes）相关问题</a></li></ul></li><li><a href="security.database.html">数据库安全</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="security.database.design.html">设计数据库</a></li><li><a href="security.database.connection.html">连接数据库</a></li><li><a href="security.database.storage.html">加密存储模型</a></li><li><a href="security.database.sql-injection.html">SQL 注入</a></li></ul></li><li><a href="security.errors.html">错误报告</a></li><li><a href="security.variables.html">用户提交的数据</a></li><li><a href="security.hiding.html">隐藏 PHP</a></li><li><a href="security.current.html">保持更新</a></li></ul></div></div></div></body></html>